// 登陆之后左边菜单项的配置，根据角色权限动态的展示相应的菜单

export const menuList = [
  {
    title: '首页',
    key: '/index/home',
    icon: 'home',
    isPublic: true, // 公开的
  },
  {
    title: '商品',
    key: '/index/product',
    icon: 'credit-card',
    children: [
      {
        title: '分类管理',
        key: '/index/product/categoryManager',
        icon: 'table'
      },
      {
        title: '商品管理',
        key: '/index/product/productManager',
        icon: 'shopping-cart'
      },
    ]
  },
  {
    title: '用户管理',
    key: '/index/userManager',
    icon: 'user'
  },
  {
    title: '角色管理',
    key: '/index/roleManager',
    icon: 'solution'
  },
  {
    title: '图形图表',
    key: '/index/charts',
    icon: 'appstore',
    children: [
      {
        title: '柱状图',
        key: '/index/charts/bar',
        icon: 'bar-chart'
      },
      {
        title: '折线图',
        key: '/index/charts/line',
        icon: 'line-chart'
      },
      {
        title: '饼图',
        key: '/index/charts/pie',
        icon: 'pie-chart'
      },
    ]
  },
  {
    title: '订单管理',
    key: '/index/orderManager',
    icon: 'inbox'
  }
]

